/*
 * time.h
 *
 *  Created on: 2022年11月18日
 *      Author: paper
 */
#ifndef CODE_TIME_H_
#define CODE_TIME_H_
#include "zf_common_headfile.h"

typedef struct {
    unsigned char T_2ms;
    unsigned char T_1ms;
    unsigned char T_10ms;
    unsigned char T_20ms;
    unsigned char T_100ms;
    unsigned char T_1s;
    unsigned char T_1500ms;
    unsigned char T_5ms;
}Timer_0;
extern float Pwm;
extern float PWM_out;
extern float speed_Pwm;
extern Timer_0 Flag;
extern float image_error;
extern float image_error1;
void Fuse_result(void);
float pinghua_error(float input,float unit);
float LR_setSpin_retarder(float input, float unit);
float LR_angle_retarder(float input, float unit);
float QH_angle_retarder(float input, float unit);
extern uint8 rst_flag;
extern uint8 yaw_flag;
extern uint8 go_flag;
extern uint8 run;

extern unsigned char Emergency_flag;
#endif 
